#!/bin/bash 
mkdir -p     /opt/component/test/
cp ./test/*  /opt/component/test -r

cp ./test.service  /run/systemd/system/
systemctl daemon-reload
service test start
